package com.wlyy.his.entity.pc;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wlyy.his.entity.common.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 就诊人的证件信息表
 * </p>
 *
 * @author ZhouYanhui
 * @since 2021-09-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("pc_patient_certificate")
public class PatientCertificate extends BaseEntity {

    private static final long serialVersionUID = 6074105432586157678L;
    /**
     * 证件主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String certificateId;

    /**
     * 就诊人主键
     */
    private String patientId;

    /**
     * 证件类型
     */
    private Integer certType;

    /**
     * 证件号码
     */
    private String certNo;

    /**
     * 证件的有效期
     */
    private String certExpiryDate;

    /**
     * 是否通过实名认证 1 认证 0 未认证
     */
    private Integer verified;


}
